#!/bin/bash
set -e

# 设置运行路径到项目目录
cd /home/s4027/data/sdc/work2025/3DMM-Fitting-Pytorch-Deploy

# 设置动态库路径（libs文件夹下有.so文件）
export LD_LIBRARY_PATH=./libs:$LD_LIBRARY_PATH
echo "[INFO] LD_LIBRARY_PATH is: $LD_LIBRARY_PATH"

# 使用3dface环境下的python运行主程序
/home/s4027/anaconda3/envs/3dface/bin/python3.6 fit_solex_api.py

